package android.trabalho;

import org.restlet.resource.ClientResource;

import service.PostoResource;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class TrabalhoHugoActivity extends Activity {
	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);
	}

	public void openConsulta(View v) {
		Intent i = new Intent();
		i.setClass(this, Consulta.class);
		startActivity(i);
	}

	public void openCadastro(View v) {
		Intent i = new Intent();
		i.setClass(this, Cadastro.class);
		startActivity(i);
	}
}